<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .box1 {
            width: 100px;
            height: 100px;
            background-color: #07d268;
            margin-bottom: 50px;
        }

        .box2 {
            width: 100px;
            height: 100px;
            background-color: #833cc9;
            margin-top: 20px;
        }

        .wrap {
            overflow: hidden;
        }
    </style>
</head>
<body>
<div class="parent">
    <div class="box1"></div>
    <div class="wrap"><div class="box2"></div></div>
</div>
</body>
<script>
  function test() {
    console.log(this);
  }
  test();
</script>
</html>
